package entity;

public class Product {
    private int productId;
    private String productName;
    private int categoryId;
    private double price;
    private String note;
    private String defaultImg;
    private int hotId;
    private int reviewId;
    private int store;

    public Product(int productId, String productName, int categoryId, double price, String note, String defaultImg, int hotId, int reviewId, int store) {
        this.productId = productId;
        this.productName = productName;
        this.categoryId = categoryId;
        this.price = price;
        this.note = note;
        this.defaultImg = defaultImg;
        this.hotId = hotId;
        this.reviewId = reviewId;
        this.store = store;
    }

    public Product() {}

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public int getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getDefaultImg() {
        return defaultImg;
    }

    public void setDefaultImg(String defaultImg) {
        this.defaultImg = defaultImg;
    }

    public int getHotId() {
        return hotId;
    }

    public void setHotId(int hotId) {
        this.hotId = hotId;
    }

    public int getReviewId() {
        return reviewId;
    }

    public void setReviewId(int reviewId) {
        this.reviewId = reviewId;
    }

    public int getStore() {
        return store;
    }

    public void setStore(int store) {
        this.store = store;
    }

    @Override
    public String toString() {
        return "Product{" +
                "productId=" + productId +
                ", productName='" + productName + '\'' +
                ", categoryId=" + categoryId +
                ", price=" + price +
                ", note='" + note + '\'' +
                ", defaultImg='" + defaultImg + '\'' +
                ", hotId=" + hotId +
                ", reviewId=" + reviewId +
                ", store=" + store +
                '}';
    }
}
